package com.zunyi.wangyanli.seversclinet.TestController;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class webController {

    @Value("${document}")
    private String document;

    @RequestMapping("/test/config")
    public String hello(){
      return this.document;
    };

    @RequestMapping("/hello1")
    public String hello1(){
      return "hello world";
    };
}
